/**
 * 
 */
package com.aihwcm.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;

import com.aihwcm.entity.Aihtasks;
import com.aihwcm.entity.Aihusers;

/**
 * @author francisli
 *
 */
public interface PubManageService {

	public String previewchannel(Integer id, Aihusers user, String rootURL)
			throws Exception;

	public void pubchannel(Integer id, Aihusers user, String rootURL)
			throws Exception;

	public void puballchannels(Integer id, Aihusers user, String rootURL)
			throws Exception;

	public String previewdocument(Integer docid, Map previewmap, Aihusers user,
			String rootURL) throws Exception;

	public void pubdocument(Integer docid, Aihusers user, String rootURL)
			throws Exception;

	public void puballdocuments(Integer id, Aihusers user, String rootURL)
			throws Exception;

	public Future<String> pub(String pubname, Integer id, Aihusers user, String rootURL,
			Aihtasks task);
}
